package com.yuanfeng.activity.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yuanfeng.activity.dto.ReductionPolicyBaseAddDTO;
import com.yuanfeng.activity.entity.ActivityReductionPolicyGoodsEntity;
import com.yuanfeng.commoms.util.ResponseResult;

import java.util.Map;

/**
 *
 */
public interface ActivityReductionPolicyGoodsService extends IService<ActivityReductionPolicyGoodsEntity> {

    /**
     * 失效满减赠折活动
     *
     * @param param
     * @return
     */
    ResponseResult invalidateManjianzengzheBase(Map<String, Object> param);



    /**
     * 删除满减赠折活动
     *
     * @param param
     * @return
     */
   ResponseResult deleteManjianzengzheBase(Map<String, Object> param);


    /**
     * 查看赠折活动详情
     *
     * @param param
     * @return
     */
   ResponseResult queryGoodsDetailList(Map<String, Object> param);


    /**
     * 查询满减赠折活动列表
     *
     * @param param
     * @return
     */
   ResponseResult queryReductionPolicyBaseList(Map<String, Object> param);


    /**
     * 删除活动商品
     *
     * @param param
     * @return
     */
   ResponseResult deleteGoods (ReductionPolicyBaseAddDTO param);


    /**
     * 新增满减赠折活动
     *
     * @param param
     * @return
     */
    ResponseResult addManjianzengzheBase(ReductionPolicyBaseAddDTO param);

    /**
     * 新增活动商品
     *
     * @param param
     * @return
     */
    ResponseResult addGoods (ReductionPolicyBaseAddDTO param);
}
